package com.fph.design;

import com.fph.design.ceiling.LevelOneCeiling;
import com.fph.design.ceiling.LevelTwoCeiling;
import com.fph.design.coat.DuluxCoat;
import com.fph.design.coat.LiBangCoat;
import com.fph.design.floor.ShengXiangFloor;
import com.fph.design.tile.DongPengTile;
import com.fph.design.tile.MarcoPoloTile;

/**
 * @ClassName Builder
 * @Description TODO
 * @Author fph
 * @Date 2024-07-18 10:39
 **/
public class Builder {

    public IMenu levelOne(Double area) {
        return new DecorationPackageMenu(area, "豪华欧式")
                .appendCeiling(new LevelTwoCeiling()) // 吊顶，⼆级顶
                .appendCoat(new DuluxCoat()) // 涂料，多乐⼠
                .appendFloor(new ShengXiangFloor()); // 地板，圣象
    }

    public IMenu levelTwo(Double area) {
        return new DecorationPackageMenu(area, "轻奢⽥园")
                .appendCeiling(new LevelTwoCeiling()) // 吊顶，⼆级顶
                .appendCoat(new LiBangCoat()) // 涂料，⽴邦
                .appendTile(new MarcoPoloTile()); // 地砖，⻢可波罗
    }

    public IMenu levelThree(Double area) {
        return new DecorationPackageMenu(area, "现代简约")
                .appendCeiling(new LevelOneCeiling()) // 吊顶，⼆级顶
                .appendCoat(new LiBangCoat()) // 涂料，⽴邦
                .appendTile(new DongPengTile()); // 地砖，东鹏

    }
}

